#/usr/bin/env python
# -*- coding:utf8 -*-

from renren_blog_poster import login

BASE_URL = 'http://www.renren.com/profile.do?id='

def visit_it(uid, email, password):
    opener = login(email, password)
    para = {'id':'223881603'}
    opener.open(BASE_URL+uid+'&portal="guideMF"&ref="guide_fl_profile"')
    
if __name__ == "__main__":
    email1 = "xxxxx@qq.com"
    password1 = "xxxxxxx"
    email2 = "yyyyy@gmail.com"
    password2 = "yyyyy"
    idlist = {'wumo':'225645347'}
    visit_it(idlist['wumo'], email1, password1)
